@echo off

echo cleaning
dotnet clean %~dp0Apewer\Apewer.csproj -c release
dotnet clean %~dp0Apewer.Source\Apewer.Source.csproj -c release
dotnet clean %~dp0Apewer.Web\Apewer.Web.csproj -c release
dotnet clean %~dp0Apewer.Windows\Apewer.Windows.csproj -c release

echo building
dotnet build %~dp0Apewer\Apewer.csproj -c release
dotnet build %~dp0Apewer.Source\Apewer.Source.csproj -c release
dotnet build %~dp0Apewer.Web\Apewer.Web.csproj -c release
dotnet build %~dp0Apewer.Windows\Apewer.Windows.csproj -c release

echo.
echo finished
ping 127.0.0.1 > nul
